import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        System.out.println("input two numbers:");
        Scanner sca = new Scanner(System.in);
        double a= sca.nextDouble();
        double b= sca.nextDouble();
        double max = Math.max(a,b);
        double squareRoot = Math.sqrt(max);
        System.out.println("the square of maximum is "+squareRoot);
    }
}
